package com.example.front.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class ButtonCreateDto {
    @NotNull(message = "盒子类型不能为空")
    private Long categoryId;
    @NotNull(message = "key不能为空")
    private Integer key;
    @NotNull(message = "事件不能为空")
    private Long eventId;

}
